package entity;

/**
 * 用户类
 */
public class Userinfo {
    private int userID;//id
    private String userAccount;//用户账号
    private String password;//用户密码
    private String userName;//昵称
    private int usergender;//性别
    private String userEntity;//身份证
    private String phone;//手机号
    private String email;//电子邮箱
    private int usertype;//用户类型
    private String wechat;//微信

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getUsergender() {
        return usergender;
    }

    public void setUsergender(int usergender) {
        this.usergender = usergender;
    }

    public String getUserEntity() {
        return userEntity;
    }

    public void setUserEntity(String userEntity) {
        this.userEntity = userEntity;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getUsertype() {
        return usertype;
    }

    public void setUsertype(int usertype) {
        this.usertype = usertype;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    @Override
    public String toString() {
        return "Userinfo{" +
                "userID=" + userID +
                ", userAccount='" + userAccount + '\'' +
                ", password='" + password + '\'' +
                ", userName='" + userName + '\'' +
                ", usergender=" + usergender +
                ", userEntity='" + userEntity + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", usertype='" + usertype + '\'' +
                ", wechat='" + wechat + '\'' +
                '}';
    }
}
